package com.sbs.order.controller;

import com.sbs.order.domain.entity.OrderBase;
import com.sbs.order.domain.service.OrderBaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 订单表 前端控制器
 * </p>
 *
 * @author sunbaoshun
 * @since 2025-08-08
 */
@RestController
@RequestMapping("/domain/order-base")
public class OrderBaseController {
    @Autowired
    private OrderBaseService orderBaseService;
    @RequestMapping("/list")
    public List<OrderBase> list() {
        return orderBaseService.list();
    }


}
